#define _CRT_SECURE_NO_WARNINGS
#include "Stack.h"
void test1()
{
	ST st;
	STInit(&st);
	STPush(&st, 8);
	printf("%d ",STtop(&st));
	STPush(&st, 7);
	printf("%d ",STtop(&st));
	STPush(&st, 6);
	printf("%d ", STtop(&st));
	STPush(&st, 5);
	printf("%d ", STtop(&st));
	STPush(&st, 4);
	printf("%d ", STtop(&st));
	STPush(&st, 3);
	printf("%d ", STtop(&st));
	STPop(&st);
	printf("%d ", STtop(&st));
	STPop(&st);
	printf("%d ", STtop(&st));
	STDestroy(&st);
}
int main()
{
	test1();
	return 0;
}